package com.software.myopiaparents.content;


/**
 * @author penglei
 * @date 2020/04/08
 * 常量定义
 */
public class Constant {

    public static final String TAG = "MYOPIAPARENTS";

    // 线上
    public static final String URL = "http://8.129.162.129:6008/";

    // 本地
//    public static final String URL = "http://192.168.1.71:6008/";


    // bugly 版本更新
    public static final int VERSION_UPGRADE = 2; // 版本更新version_upgrade常量

    // 用户数据
    public static final String USER_ID = "userId";      //用户Id
    public static final String USER_TOKEN = "token";      //token
    public static final String USER_JWT_TOKEN = "jwt_token";      //用户jwt_token
    public static final String USER_NAME = "userName";      //用户名称
    public static final String SP_USER_DATA = "sp_user_data";      //用户参数

    public static final String DEVICE_TOKEN = "device_token";      //友盟device_token

    // bugly的id
    public static String BUGLY_APP_ID = "a13d0b24ed";

    // 友盟的appkey
    public static String UMENG_APP_KEY = "5ee05195570df32fc90000ee";
    public static String UMENG_MESSAGE_SECRET = "80af249c5a8fafea8c20d50dc1b3a24f";
    public static String UMENG_APP_MASTER_SECRET = "rqt1ehvtc4eqbm6qr8pczuaiavqh0gyp";

    // QQ的key
    public static String QQ_APP_ID = "101884116";
    public static String QQ_APP_KEY = "fb7b8f31a31a4855ff782c1ebaf3f716";

    // 微信的key
    public static String WX_APP_ID = "wx4605aa5892e7b154";
    public static String WX_APP_SECRET = "7dcc2e7df19f155680c4f4683641df75";

    //接口请求
    public static final String CODE_SUCCESS = "10000"; //  成功
    public static final String CODE_FAILURE = "20001"; //  失败


    // 用户协议和隐私政策
    public static String YHXY_VIEW = "view/yhxy.html";
    public static String YSZC_VIEW = "view/yszc.html";

    public static final String SP_PRIVACY = "sp_privacy";
    public static final String SP_VERSION_CODE = "sp_version_code";


}
